package com.cxyzy.masklayer;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.goToCommonViewBtn).setOnClickListener(v -> {
            Intent intent = new Intent(MainActivity.this,ConstraintLayoutMaskActivity.class);
            startActivity(intent);
        });
        findViewById(R.id.goToRecycleviewBtn).setOnClickListener(v -> {
            Intent intent = new Intent(MainActivity.this,RecycleViewActivity.class);
            startActivity(intent);
        });
    }
}
